#include "PIDCharge.h"

PIDCharge::PIDCharge() {
	// Use requires() here to declare subsystem dependencies
	// eg. requires(chassis);
	Requires(shooter);
}

// Called just before this Command runs the first time
void PIDCharge::Initialize() {
	SetTimeout(0.1);
}

// Called repeatedly when this Command is scheduled to run
void PIDCharge::Execute() {
	shooter->PIDcharge();
}

// Make this return true when this Command no longer needs to run execute()
bool PIDCharge::IsFinished() {
	return IsTimedOut();
}

// Called once after isFinished returns true
void PIDCharge::End() {
	
}

// Called when another command which requires one or more of the same
// subsystems is scheduled to run
void PIDCharge::Interrupted() {
}
